package cn.edu.scau.cmi.huangzhiyuan.abstractFactory.factory;

import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domain.PingAnBodyInsurance;
import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domain.PingAnCarInsurance;
import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domain.PingAnOtherInsurance;
import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domain.PingAnPersonInsurance;
import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domainAbstractClass.Insurance;

public class PingAnFactory extends AbstractFactory{

	@Override
	public Insurance BodyInsurance() {
		return new PingAnBodyInsurance();
	}

	@Override
	public Insurance PersonInsurance() {
		return new PingAnPersonInsurance();
	}

	@Override
	public Insurance CarInsurance() {
		return new PingAnCarInsurance();
	}

	@Override
	public Insurance OtherInsurance() {
		return new PingAnOtherInsurance();
	}

}
